package com.jbm.onehome.iface;

import javax.persistence.Transient;
import com.jbm.core.iface.IAcross;

/**
 * Created by root on 16-3-6.
 */
public class ILogin extends IAcross
{
	public ILogin(IAcross ia)
	{
		super(ia);
	}

	public ILogin ()
	{
		super();
		back = false;
		method = "";
		errorinfo = "";
	}

	public ILogin ( String name, String pass )
	{
		this.method = "login";
		this.name = name;
		this.password = pass;
		this.oldpass = "";
	}

	public ILogin ( String name, String pass, String oldpass )
	{
		this.method = "changepass";
		this.name = name;
		this.password = pass;
		this.oldpass = oldpass;
	}
	private static final long serialVersionUID = 400001L;


	public String name;
	public String password;

	public String oldpass;

	@Transient
	public boolean back;
	@Transient
	public String method;
	@Transient
	public String errorinfo;
	@Transient
	public int count;
	@Transient
	public int start=0;
	@Transient
	public int pagesize=0;
	@Transient
	public Integer tableid;
}
